//
//  Single.m
//  testjson
//
//  Created by fcbayern on 2020/11/23.
//  Copyright © 2020 fcbayern. All rights reserved.
//

#import "Single.h"

@implementation Single
- (id)init{
    if (self = [super init]){
        self->_datalist1 = [[NSMutableArray alloc ]init];
        self->_imagelist = [[NSMutableArray alloc ]init];
        self->_r_count = 0;
        self->_l_count = 0;
        
        self->_message_homepage = [[NSMutableArray alloc ]init];
        self->_selfdatalist = [[NSMutableArray alloc ]init];
        self->_dataimagelist = [[NSMutableArray alloc ]init];
        self->_check_login = 0;
        self->_check_load_ui = 0;
        self->_datalist = [[NSMutableArray alloc]init];
        self->_commentlist = [[NSMutableArray alloc]init];
        self->_commentlist2 = [[NSMutableArray alloc]init];
        self->_replylist = [[NSMutableArray alloc]init];
        self->_commentid = [[NSString alloc]init];
        self->_fatherid = [[NSString alloc]init];
        self->_replyid = [[NSString alloc]init];
    }
    return self;
}
+(instancetype)sharedInstance{
    static Single *myInstance = nil;
    if(myInstance == nil){
        myInstance = [[Single alloc]init];
    }
    return myInstance;
}
@end
